﻿
Ext = {};

Ext.Window = function(config) {
    /// <summary>
    ///   A specialized panel intended for use as an application window. Windows are floated 
    ///   and draggable by default, and also provide specific behavior like the ability to maximize 
    ///   and restore (with an event for minimizing, since the minimize behavior is application-specific). 
    ///   Windows can also be linked to a Ext.WindowGroup or managed by the Ext.WindowManager to provide 
    ///   grouping, activation, to front/back and other application-specific behavior.
    /// </summary>
    /// <param name="config" type="Object">The configuration of this window</param>
    /// <returns type="Ext.Window"></returns>
    
    /// <field name="body" type="Ext.Element">The Panel's body {@link Ext.Element Element} which may be used either to contain HTML content, or to house a Layout. Read-only.</field>
    /// <field name="disabled" type="Boolean">True if this component is disabled. Read-only.</field>
    /// <field name="footer" type="Ext.Element">The Panel's footer {@link Ext.Element Element}. Read-only.</field>
    /// <field name="header" type="Ext.Element">The Panel's header {@link Ext.Element Element}. Read-only.</field>
    /// <field name="hidden" type="Boolean">True if this component is hidden. Read-only.</field>
    /// <field name="items" type="Ext.util.MixedCollection">The collection of components in this container as a Ext.util.MixedCollection</field>
    /// <field name="ownerCt" type="Ext.Container">The component's owner Ext.Container (defaults to undefined, and is set automatically when the component is added to a container). Read-only.</field>
    /// <field name="rendered" type="Boolean">True if this component has been rendered. Read-only.</field>
}

Ext.Window.prototype = {
    add : function(component) {
        /// <summary>
        ///   Adds a component to this container. Fires the beforeadd event before adding, then fires the add event after the component has been added.
        /// </summary>
        /// <param name="component" type="Ext.Component">The component to add</param>
        /// <returns type="Ext.Component">component The component that was added (with the container's default config values applied)</returns>
    }
}
Ext.Window.doSomething = function(component) {
    /// <summary>
    ///   Adds a component to this container. Fires the beforeadd event before adding, then fires the add event after the component has been added.
    /// </summary>
    /// <param name="component" type="Ext.Component">The component to add</param>
    /// <returns type="Ext.Component">component The component that was added (with the container's default config values applied)</returns>
}
Ext.Window.__class = true;
Ext.Window.__type = "Ext.Window";
